﻿using System;
using System.Collections.Generic;
using System.Text;
using Ghasam.Business.Domain.Entity;

namespace Ghasam.Business.Services
{
    public interface ISalesPersonService
    {
        SalesPerson SaveOrUpadate(SalesPerson salesPerson);
        IList<SalesPerson> FindAll();
        SalesPerson FindById(int salesPersonId);
        IList<SalesPerson> FindByTitleLike(string title);
        SalesPerson FindByTitle(string title);
        void Delete(int salesPersonId);
        IList<SalesPerson> SortSalesPerson(string param, bool asc);
    }
}
